

const ITEM_CATALOG_EQUIP:number = 1;
const ITEM_CATALOG_ITEM:number = 2;
const ITEM_CATALOG_BAOXIANG:number = 3;

class Config {
	

	public item_conf:any;
	public achieve_conf:any;
	public title_conf:any;
	public mall_conf:any;
	public user_exp_conf:any;
	public constructor() {
	}

	//加载配置文件
	public load() {
		var files:Array<RES.ResourceItem> = RES.getGroupByName('config');
		for (var k in files) {
			var file = files[k];
			var data = RES.getRes(file.name);
			console.log('加载配置成功', file.name);
			this[file.name] = data;
		}
	}
}